"""
WSGI config for dprojx project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
"""

import os
import sys
import site
from django.core.wsgi import get_wsgi_application

# add python site packages, you can use virtualenvs also
site.addsitedir("C:/ProgramData/Anaconda3/envs/django/Lib/site-packages")

# Add the app's directory to the PYTHONPATH
sys.path.append('C:/Users/Administrator/Documents/GitHub/LogScanWeb') 
sys.path.append('C:/Users/Administrator/Documents/GitHub/LogScanWeb/dprojx')
# sys.path.append('C:/inetpub/wwwroot/LogScanWeb/dappx') 


os.environ['DJANGO_SETTINGS_MODULE'] = 'dprojx.settings' 
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dprojx.settings")  
 
application = get_wsgi_application()
